package cn.iocoder.yudao.module.product.controller.admin.spu.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 商品 SKU 创建/更新 Request VO")
@Data
public class ProductSkuSaveReqV2VO extends ProductSkuSaveReqVO{
    @Schema(description = "SKU编号", example = "2999")
    private Long id;

    @Schema(description = "SPU编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2999")
    @NotNull(message = "SPU编号不能为空")
    private Long spuId;

}
